Repository navigation
Add OpenDev video presets and NextLabs image references - #685
yelinyao2007 wants to merge 13 commits into
Conversation
david6666666
left a comment
There was a problem hiding this comment.
WITHHOLD 55d699f No linked issue supplied
这版接入了 OpenDev MAGI-2,同时加了 Seedance preset。我核对了参数、提交/轮询、下载与采纳/重开测试。fixture 覆盖了带素材的 Agent 路径,但 UI 分支直接调用 backend 且不带链接,不能证明画布里添加链接后,请求和重开状态都一致。
Ran: 静态 diff / fixture 走查。Not run: CI(该 head 未见检查)、浏览器或真实 provider。当前证据暂定 43/100,非批准分(范围 2、正确性 2、验证 2、证据 0、简洁性 3)。请补同版可播放的画布录屏和生成产物,并注明哪些是 fixture、哪些是实际 provider;从添加链接到采用结果、重开项目走一遍。Dot,代表 @david6666666。
| (projects, pid, session), model, runner = configured(tmp_path) | ||
| assert model['inputRules']['outputResolutions'] == ['1080P'] | ||
| assert model['inputRules']['generateAudioOptions'] == [True, False] | ||
| remote_links = LINKS if source == 'agent' else [] |
There was a problem hiding this comment.
这里的 ui 分支会把素材置空,并直接调用 runner.execute。所以即使画布里的链接没进 payload,这条测试也能绿。建议用 browser fixture 加一条参考链接,核对 POST 的媒体项,再重开项目确认链接或相应历史输入可恢复。
david6666666
left a comment
There was a problem hiding this comment.
WITHHOLD 55d699f No linked issue supplied
更正上条总评的加权总分:2/2/2/0/3 应为 50/100,不是 43/100。技术意见与证据缺口不变;未批准。Dot,代表 @david6666666。
|
@david6666666 Thanks for the comments. 我这个还没做完。会参考你的comments继续的。做完后我会把状态改成'ready for reivew' 多谢多谢 |
david6666666
left a comment
There was a problem hiding this comment.
WITHHOLD 526afd6 No linked issue
当前证据暂定 77/100,非批准分(范围 3、正确性 3、验证 1、主张证据 2、简洁度 3)。我下载检查了中英文 MAGI-2 流程、Seedance 配置录像和 4 秒采纳结果。现在能看到带引用的 OpenDirector 工作流与产物,不再把可打开的素材当缺失;这些是 mock HTTP 和 320×180 彩条,不是实际 MAGI-2 的 1080p 输出、原生音频或 NextLabs 上传证明。
先留一条 Draft 阶段有用的检查:当前树有 169 个 Python 测试模块,shard 清单只有 166 项,少了本 PR 新增的两个模块,以及主线已知缺项 test_ark_availability.py。同版 Release 仍等待 fork 放行,我未触发也未跑真实 provider。建议 Ready 前先把本 PR 两个模块登记进去,真实 provider 验证另留结果和 receipt。
English: 77/100 provisional. The mock recordings are viewable; both new Python test modules are missing from the shard inventory.
Dot,代表 @david6666666。非表决评审。
| from opendirector.infrastructure.generation_results import GenerationResults | ||
| from opendirector.integrations.nextlabs_upload import upload_reference | ||
|
|
||
| pytestmark = pytest.mark.cpu |
There was a problem hiding this comment.
这份测试和 test_opendev_magi.py 都是新模块,但目前没有登记进 scripts/ci/python_shards.json。即使本地定向通过,Release 的清单校验也会因这两项缺失失败。建议 Ready 前把两个模块放进合适的 shard;主线的 Ark 缺项另跟 #695。
## summary - Record the PR review lesson that passing local tests does not establish CI shard registration. - Add bilingual, reusable inventory and shard selection commands with explicit baseline failure reporting. ## validation - git diff --staged --check
david6666666
left a comment
There was a problem hiding this comment.
WITHHOLD 51e3637 No linked issue
当前证据暂定 83/100,非批准分(范围 3、正确性 3、验证 2、主张证据 2、简洁度 3)。之前漏掉的 test_nextlabs_upload.py 和 test_opendev_magi.py 已登记;候选树 169 个模块、清单 168 项,剩下的是基线本来就漏掉的 Ark 测试。两个新提交只改清单和验证文档,上一版下载核验的录像仍能说明 mock 流程,不证明真实 MAGI-2 / NextLabs、1080p 或音频产出。当前 Release 仍等 fork 放行,PR 还是 Draft。
已核对变更和清单,没有运行真实 provider、触发 workflow 或投票。Dot,代表 @david6666666,非表决复审。
## summary - Register the two test modules introduced by main so the complete Python module inventory is covered exactly once after integration. ## validation - Full collection: 3875 cases; layer inventory audit passed. - CI inventory/scope and trace/wait focused suite: 122 passed. - Before registration, module inventory failed on these two paths.
…opendev-magi-2 # Conflicts: # scripts/ci/python_shards.json
|
Maintainers: please approve the fork workflows for final head
This head merges main Local full execution is not green: 3752 passed, 121 skipped, 4 failed. Permanent results and baseline comparisons track the outstanding failures here: cold-open session expiry and Chrome 30-second export deadline reproduce on exact main; capability negative-evidence failures occur on both revisions but different parameters; assistant lease expiry decreased 17.8323 seconds in the full run and its cause remains unresolved despite focused passes. No assertion/deadline was relaxed; these results must not be treated as full-suite success. The PR body links final-head bilingual mock workflows and the real sample's sanitized same-job correlation summary. The earlier real run still lacks its exact generating application SHA and same-job NextLabs completion receipt; neither is claimed verified. Please approve the workflows rather than bypassing checks. This PR stays Draft until final-head Release checks and every required status pass, with remaining failures and evidence gaps resolved or explicitly accepted in review. Formal re-review has not been requested. |
david6666666
left a comment
There was a problem hiding this comment.
WITHHOLD 8c380c1 No linked issue
当前证据暂定 83/100,非批准分(范围 3、正确性 3、验证 2、主张证据 2、简洁度 3)。本次确认 171 个测试模块都被分到一个 shard,但这不等于全套通过:候选的完整运行记录是 3752 通过、121 跳过、4 失败。cold-open 和 Chrome 有 main 对照;切项目 lease、download-paused 还没有同条件的同一失败,先别归为已证实的基线波动。
我下载、解码并抽看了这次证据提交的中英文完整流程,文件 blob 相符;能看到添加模型服务、参考素材和画布产物,输出是 mock 彩条,不是 MAGI-2 / NextLabs 真服务结果。当前 Release 与 CodeQL/DSH 均仍待放行,PR 仍是 Draft;这轮没有放行、运行 provider 或投票。下一步先隔离尚未归因的两项失败,再核对 Ready 后的同 SHA CI。
Dot,代表 @david6666666,非表决复审。
|
Updated the existing draft to Maintainers: please approve the fork workflows for this final submitted SHA and investigate reviewer-routing startup failure:
The complete 175-module inventory now assigns every module exactly once, including trace-job queries and wait outcomes. Full unfiltered execution: 3854 passed, 121 skipped, 2 failed; all 3977 cases collected and all 152 protected representatives passed. Complete logs and same-base comparison. The Chrome terminal-state deadline failure reproduces at the identical assertion on exact main. The batch-result workflow failed on publication-lock acquisition during its second submission ( Final-head bilingual UI recordings, six output/snapshot pairs and hashes are linked in the body. The real 1080p sample matches its persisted MAGI-2 job and input/output hashes; exact generating application SHA and same-run NextLabs upload/completion receipt remain unavailable. No replacement receipt or current SHA is attributed to that historical run. PR stays Draft. Please do not treat the advisory score or local focused passes as successful final-head Release checks. Ready/formal re-review remains pending successful required checks and resolution of outstanding review requirements. |
## summary Use the published manifest for generation directory reads so an accepted job can resume while another change holds the publication lock. Keep write-side coordination in the existing command and checkpoint paths. Add a deterministic concurrent-publication recovery regression that checks the accepted job produces one result, and document the lesson. ## validation The new regression fails on the prior implementation and target main. All 148 generation, workflow, storage and provider checks pass after the change. The original full-suite failure remains recorded separately.
david6666666
left a comment
There was a problem hiding this comment.
WITHHOLD 262e456 No linked issue
当前证据暂定 83/100,非批准分(范围 3、正确性 3、验证 2、主张证据 2、简洁度 3)。我下载、校验并解码了这版的中英文录屏和六段 mock 产物,看到了画布用链接和本地图片生成后的结果。历史的 5.2 秒 1080p 样片哈希也对得上,音轨非静音;这能确认样片本身,不等于补上了当时的应用 SHA 或同一任务的 NextLabs 上传完成回执。
对照了完整测试日志:3854 通过、121 跳过、2 失败。Chrome 导出在同一 main 也卡在相同断言;batch-result 的第二次提交在取发布锁时超时,单测通过还不能解释整套失败。Ready 前建议优先保留同样的测试顺序,把锁的持有者和等待时间记下来,不先放宽超时。
Ran: 静态审查、公开媒体校验和解码、核对 同 SHA Release checks(仍待放行)。
Not run: 本地复跑测试或真实 provider。PR 仍为 Draft,未放行 workflow、未投票。
Dot,代表 @david6666666。非表决复审。
|
Updated the existing Draft to Maintainers: please approve the fork workflows for this submitted SHA: The recovery correction removes writable publication-lock acquisition from a read-only accepted-job directory lookup. A deterministic regression pauses a real journaled publication, reproduces the old failure on candidate/main, and verifies one result with preserved concurrent canvas state after the fix. No timeout or assertion was relaxed. This identifies a sufficient mechanism, not the historical full-run lock holder or waiting duration requested in the latest review; those were not recorded. The complete unfiltered run on this head is 3856 passed, 121 skipped, 1 failed, with all 3978 cases inventoried, all 175 modules assigned once, and all 152 protected representatives passing. The former publication-lock and dedicated-headless-shell export cases passed. The remaining assistant expired-lease case returned The PR body links current-head bilingual mock workflows and accurately limits the historical 1080p sample evidence: exact generating application SHA and same-run NextLabs upload/completion receipt remain missing. No new paid generation was made. Please approve the workflows rather than bypass checks. Keep Draft until final-head required checks and outstanding validation/review requirements are resolved. This is not a Ready or formal re-review request. |
david6666666
left a comment
There was a problem hiding this comment.
WITHHOLD fd2cf99 No linked issue
当前证据暂定 83/100,非批准分(范围 3、正确性 3、验证 2、证据 2、简洁度 3)。上一轮的发布锁问题,这次有了区分度:同一个「发布暂停、恢复已接任务」回归在旧实现和 main 上因锁超时失败,新版改读已发布清单后通过,并检查只生成一份结果。这支持修复这个竞争条件,但不等于复原了原始整套测试的现场。
我解码并抽看了这版双语 mock 录像。两次完整运行各仍有一项失败,一次是助手写入返回 session expired,另一次是 MiniMax 能力判定;后者与一次时钟回跳同刻出现,但不能拿它解释前者。普通 Chrome 仍是独立缺口,专用 headless shell 通过不能替代它。历史 1080p 样片的应用 SHA 和同任务 NextLabs 回执也仍未补齐。
Ran: 核对回归日志、两次全跑日志、录屏和 同 SHA Release(待放行)。Not run: 未独立重跑测试或真实 provider。仍为 Draft,未放行、未投票。
Dot,代表 @david6666666。非表决复审。
Summary
Add OpenDev MAGI-2 generation and an OpenDev Seedance connection preset. MAGI-2 supports text prompts and public HTTPS image/video/audio references through shared UI and Agent commands; a separate NextLabs token enables local image references. Preserve accepted inputs, task identity, adopted output and recovery state without automatically repeating unknown submissions. Fix public reference links being lost when editing another canvas generation parameter. Includes Chinese and English settings, errors and setup documentation. This implements the user-requested provider integration; no closing issue is linked.
Main integration and complete inventory
Candidate:
fd2cf9923209b0dc4e34c81a09a4856521463532.Target main merged:
3d5a6e76953c8d153d2fe5110af39c3a93bc2c76.Latest main is incorporated, including Seed Audio multi-artifact generation and #700 automatic default-core discovery. Preserve the shared public-model secret filtering and MAGI recovery cache through the new generation dispatcher. Keep trace queries in main's media shard and wait outcomes in agent-cli; remove the duplicate trace assignment introduced by the merge. All 175 Python modules resolve exactly once (core 114, agent-cli 27, media 34).
Publication-lock recovery correction and validation
The full run on 262e456 exposed accepted-job recovery calling the writable catalog lookup just to read a directory while another job published. Recovery now reuses the published-manifest read path, keeping write-side coordination intact. A deterministic test pauses a real publication after journaling, resumes an accepted job and checks that exactly one result is produced. It fails with the same publication-lock Timeout against the original implementation and exact main; it passes with this correction. This demonstrates the competing-publication mechanism without claiming that the controlled schedule was captured during the original full run.
148 generation, workflow, storage and provider tests passed; whole-PR static checks, all 1139 frontend tests, production build, i18n (3956 keys), browser locale/manifest, generated contracts and four architecture checks passed on this candidate. A fresh isolated wheel build, clean locked-dependency installation, pip check and installed smoke without Node passed. Six bilingual UI scenarios on fd2cf99 passed; all persisted job/output identities and SHA-256 hashes match and all eight output/recording videos decode fully. The complete unfiltered run finished with 3856 passed, 121 skipped, 1 failed (1548.76 seconds). The remaining failure is
test_background_turn_keeps_write_session_and_checks_revisions[expired]: an Agent asset write returnedsession_expired. The unchanged assistant module passes in isolation on candidate and main (43 tests each), which does not establish the cause or classify the original failure as a baseline flake. All 3978 cases are inventoried and all 152 protected representatives passed, but the full execution gate is not green. The separate same-order diagnostic full run also completed 3856 passed, 121 skipped, 1 failed (1673.02 seconds). Its sole failure istest_minimax_fixed_response_format_is_checked_before_acceptance[False-http]: the receipt was accepted instead of rejected. In that run, 151 protected representatives passed and 1 failed. The observer recorded a backward wall-clock jump of 18.168 seconds during this exact case. Controlled replay at capability observation on candidate and main producesobservation_time_invalidand the identical assertion failure; natural isolated controls pass on both. This establishes a sufficient mechanism alongside an observed coincident clock jump, not exhaustive proof of the original internal event. The assistant, publication-lock and complete Chrome-export cases passed in this second run. Both full runs remain failed; no additional rerun is counted as success. Independent candidate review of this head scored 87/100, WITHHOLD, and permits updating the existing Draft only.The complete run on 262e456 remains 3854 passed, 121 skipped, 2 failed (1555.02 seconds), with 3977 cases collected, complete inventory accounting and all 152 protected representatives passed. Preserved results and comparison logs. The publication-lock failure motivated the correction above. Ordinary Chrome still fails its 30-second terminal-state assertion on candidate and exact main. Read-only diagnostics locate the original stall at frame zero awaiting seekAndReady on a hidden page. Experimental focus emulation allows progress but does not meet the unchanged deadline. The installed dedicated Chromium headless shell, at the same 156.0.8078.4 version, passes the unchanged complete export/audio-sync/stage-upload/cancellation test on the candidate (4.34 seconds) and main (4.13 seconds). Full execution now uses that verified binary. No renderer code, assertion or timeout was changed; ordinary-Chrome compatibility remains a separately recorded limitation.
On the preceding 262e456 tree: 170 focused Python tests, 1139 frontend tests, production build, i18n (3956 keys), browser manifests, contracts, four architecture contracts, wheel build, clean locked installation and installed smoke without Node passed. This patch changes only shared generation directory reading, its concurrent-publication test and a bilingual development lesson. Historical checks remain attributed to the revision actually tested.
Earlier failed run and follow-up isolation
The complete run on 8c380c1 was 3752 passed, 121 skipped, 4 failed. Full results and baseline comparisons retain that result. Bench and Chrome failures reproduced on exact 322f98c. The original assistant-switch and download-paused failures were not naturally reproduced at the same assertions on main.
Additional same-order observations and controlled clock replay compare the exact previously reviewed 8c380c1/322f98c3 revisions. The 452-test prefixes record repeated approximately 18.2-second wall-clock jumps against continuous monotonic time, but neither original target failed during these runs. Controlled clock injections make both exact target tests fail at their original assertions on both revisions. This establishes a sufficient mechanism, not the original cause or a confirmed baseline-flake classification. The source of the observed jumps remains unresolved; the original full run is still failed. Native Windows and unavailable/opt-in harness coverage remain separate gaps.
No new paid provider calls were made. Hosted final-head Release checks, desktop/platform qualification and other browser engines remain separate gates.
Workflow evidence
New fd2cf992 workflow artifacts and validation evidence include current-head bilingual recordings, six persisted state/output pairs, hashes, failing-before regression results and installation checks.
Final 262e4561 browser artifacts include six persisted project snapshots and output MP4s, screenshots and two bilingual workflow recordings; all eight videos decode completely. Previous 8c380c14 artifacts remain attributed to that revision. Earlier Seedance preset recordings remain pinned to their original tested revision.
These show actual OpenDirector using mock provider HTTP and synthetic media. The six browser output MP4s are four-second 320×180 patterns; 1080P is checked in the submitted payload and audio is disabled. Public references use the link editor; local inputs use the file picker and shared creation client. Generation, adoption, reload and single submission are checked. The earlier public-link review comment is covered by adding a link, changing audio, checking transmitted media and reopening the project. Seedance has bilingual preset recordings and mocked Ark wire tests; no live Seedance generation is claimed.
Real sample and source evidence
User's unmodified sample and media verification: H.264, 1920×1080, 25 fps, 5.2 seconds, 4,380,242 bytes, AAC stereo at 44.1 kHz. Complete audio/video decoding passed; audio is non-silent (mean −19.3 dBFS, peak −0.5 dBFS). SHA-256:
74387d655bcd5e6374c1a8525c6dc6d1aed98b7e25be5e63048bc75c9eb0a9b0.Local investigation matched the exact sample bytes to a persisted generated asset. Its local job
f8118502-6fd1-54f1-99f3-f5156d8c79ccwas created2026-12-05T04:52:13.813151Z, records MAGI-2 with 1080P, five seconds andgenerate_audio=true, and succeeded with external task IDtask_i1Yd8l6JwAFvx4ZRSjNYH1F3L22MHfuc. Seven ordered project checkpoints and the two reference-image hashes connect accepted input to this output. Sanitized same-run summary publishes input/output hashes, job identifiers, execution parameters and checkpoint hashes. Original creative images, prompt and raw records remain private pending explicit approval. The summary reflects local application records, not signed provider receipts.Two gaps remain and are not reconstructed: the run did not record an exact application SHA/dirty-tree state, and the successful task's NextLabs upload/completion receipt is no longer present after recovery-cache cleanup. The current PR SHA is not assigned to this earlier run; other tasks' upload caches are not substituted. The project records connect requested audio to the matching generated output, but do not establish independently assessed dialogue accuracy/audio quality or a complete same-run NextLabs receipt chain.
Review and readiness
Independent candidate review reconfirmed 87/100 after inspecting the completed diagnostic evidence on base
3d5a6e76953c8d153d2fe5110af39c3a93bc2c76and headfd2cf9923209b0dc4e34c81a09a4856521463532: scope 3, correctness 3, validation 1, claim evidence 3, simplicity 3. Verdict WITHHOLD; acceptable to publish this Draft update, not Ready or merge approval. The reviewer independently inspected the fix, journal/rename semantics, failing-before evidence and full-suite traces, and verified six output/snapshot correlations plus eight MP4 decodes. Remaining gaps: unexplained assistant lease failure, the failed capability representative and final-head hosted checks. The latest review asks for the original full-run lock holder/wait timing; that historical timing is unavailable. The deterministic regression identifies its controlled competing publication and proves the lookup mechanism, but is not presented as a recording of the original event. The diagnostic full run preserved test order and is now complete, with its failure retained. Keep Draft until full validation, final-head required checks and remaining review requirements are resolved. Maintainer approval of fork workflows remains required; no Ready or formal re-review is requested while these gates are unsettled.Full-run bookkeeping: the first fd2cf99 execution terminated with exit143 near33% without a complete report; its partial evidence is retained. The second ordinary-Chrome run was deliberately interrupted after the headless-shell comparison established a working test configuration; its interruption and teardown traceback remain retained. Neither is a full-suite pass. The completed 3978-case headless-shell run is preserved in
lock-shell-python.log/.json/.xml; the diagnostic follow-up is separate and does not replace that failure.Final diagnostic logs, observer/replay code and baseline-integrity check are published alongside the workflow evidence. Application source was unchanged throughout validation. Required hosted checks remain blocked on maintainer approval; local full execution is not green.